package com.zb.client;

import com.zb.dto.UserDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "user-server")
public interface TbUserFeignClient {
    @GetMapping("/tb-user-model/info/{username}")
    UserDTO getUserInfo(@PathVariable("username") String username);
}
